<div class="data-item category-data-item">
  <span class="td-edit tooltip">
    <span>
      <%=t('tooltip.record.edit')%>
    </span>
    <%= link_to t('button.edit'), edit_category_path(category),:class => "link" %>
  </span>
  <span class="td-delete tooltip">
    <span>
      <%=t('tooltip.record.delete')%>
    </span>
    <%= link_to t('button.delete'), category, confirm: t('message.confirm.delete'), method: :delete, :class => "link link-delete" %>
  </span>
  <div class="body-category-color">
    <div style="background-color: <%=getCategoryColor(category)%>;">
      &nbsp;
    </div>
  </div>
  <span class="body-category-name">
    <strong>
      <%=category.name%>
    </strong>
  </span>
  <span class="body-category-description">
    <%=category.description%>
  </span>
</div>